﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Presentation.Infrastructure
{
    public abstract class ViewModelBase : NotifyPropertyChangedBase
    {
        private string _title;
        private string _currentUser;

        public string Title
        {
            get { return _title; }
            set
            {
                _title = value;
                this.NotifyPropertyChanged(o => o.Title);
            }
        }

        public string CurrentUser
        {
            get { return _currentUser; }
            set
            {
                _currentUser = value;
                this.NotifyPropertyChanged(o => o.CurrentUser);
            }
        }

        protected abstract void RefreshCommands();
    }
}
